package org.example.sorted;

/**
 * @Author: zjg
 * @Date: 2024/1/30 16:32
 * @Description:
 **/
public class CommonUtils {

    /**
     * @Author: zjg
     * @Date: 2024/1/30 16:33
     * @Description: 交换
     **/
    public static void swap(int [] arr,int i,int j){
    int tmp =arr[i];
        arr[i]=arr[j];
        arr[j]=tmp;
    }
}
